package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.EcologyPoolDaoRankTypeEnum;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 生态池-品牌榜配置
 *
 * @TableName sc_ecology_pool_dao_rank_conf
 */
@TableName(value = "sc_ecology_pool_dao_rank_conf")
@Data
public class EcologyPoolDaoRankConf extends SuperEntity<EcologyPoolDaoRankConf> implements Serializable {
    private static final long serialVersionUID = 8434419294641882937L;
    /**
     * 名称
     */
    @TableField(value = "rank_name")
    private String rankName;

    /**
     * 类型 1：品牌贡献榜
     */
    @TableField(value = "rank_type")
    private EcologyPoolDaoRankTypeEnum rankType;

    /**
     * 用户系数
     */
    @TableField(value = "user_ratio")
    private BigDecimal userRatio;

    /**
     * 熔炼系数
     */
    @TableField(value = "ecology_ratio")
    private BigDecimal ecologyRatio;

    /**
     * 入金系数
     */
    @TableField(value = "cash_in_ratio")
    private BigDecimal cashInRatio;

    /**
     * 贡献值阈值
     */
    @TableField(value = "contribution_threshold")
    private BigDecimal contributionThreshold;

    /**
     * 开始时间
     */
    @TableField(value = "start_time")
    private Date startTime;

    /**
     * 结束时间
     */
    @TableField(value = "end_time")
    private Date endTime;

    /**
     * 活动规则
     */
    @TableField(value = "activity_rule")
    private String activityRule;

    /**
     * 顶部图
     */
    @TableField(value = "top_image")
    private String topImage;

    /**
     * 状态 0：关闭 1：开启
     */
    @TableField(value = "status")
    private Boolean status;

    /**
     * 入榜数量
     */
    @TableField(value = "join_rank_count")
    private Integer joinRankCount;
}